package com.sakura.mall.member.integrationChangeHistory.domain.entity;

import cn.dhbin.mapstruct.helper.core.Convert;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import java.math.BigDecimal;

/**
 * 积分变化历史记录 实体类
 *
 * @author sakura
 */
@Data
@TableName("ums_integration_change_history")
public class IntegrationChangeHistoryEntity implements Convert {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * member_id
     */
    private Long memberId;
    /**
     * create_time
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 变化的值
     */
    private Integer changeCount;
    /**
     * 备注
     */
    private String note;
    /**
     * 来源[0->购物；1->管理员修改;2->活动]
     */
    private Integer sourceTyoe;

}
